package com.sghd.pojo.candy.fight;

import com.sghd.pojo.fight.game.RoomType;

/**
 * @author frank
 * @date 2019-01-08 14:15
 * @desc 进入游戏
 **/
public class EnterVo {
    /** 玩家id*/
    private long playerId;
    /** 游戏模式*/
    private RoomType type;

    public static EnterVo valueOf(long id, RoomType type) {
        EnterVo enterVo = new EnterVo();
        enterVo.playerId = id;
        enterVo.type = type;
        return enterVo;
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }

    public RoomType getType() {
        return type;
    }

    public void setType(RoomType type) {
        this.type = type;
    }
}
